package com.bitejiuyeke.job_publish.dao;

import com.bitejiuyeke.job_publish.model.College;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollegeMapper {
    int insert(College row);

    int insertSelective(College row);

    College selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(College row);

    int updateByPrimaryKey(College row);

    /**
     * 查询所有院系及包含的专业
     * @return
     */
    List<College> selectAll();

    /**
     * 查询所有院系及包含的专业
     * @return
     */
    List<College> selectAllInfo();
}